package com.chenfwind.IDao;

import java.util.List;

import com.chenfwind.domain.Friend;

public interface FriendMapper {
    int deleteByPrimaryKey(String id);

    int insert(Friend record);

    int insertSelective(Friend record);

    Friend selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Friend record);

    int updateByPrimaryKey(Friend record);
    
    List<Friend> selectFriendByUserId(String userId);
    
    Friend selectByUid1AndUid2(String uid1,String uid2);
}